package com.feng.oauth2.oauth.domain.userUrl;

import com.feng.oauth2.oauth.domain.shared.Repository;

import java.util.List;

public interface UserUrlsRepository extends Repository {

    UserUrls findUserUrlsById(Integer id);
    
    List<UserUrls> findAllUserUrls(String username);
    
    void saveUserUrls(UserUrls userUrls);
    
    void updateUserUrls(UserUrls userUrls);
    
    void deleteUserUrls(Integer id);

    void saveAllUrls(List<UserUrls> urlList);
    
    void deleteUserAllUrls(String username);
}